load("@fbcode//quic:defs.bzl", "mvfst_cpp_benchmark", "mvfst_cpp_test")

# Common library

oncall("traffic_protocols")

mvfst_cpp_test(
    name = "priority_queue_test",
    srcs = ["PriorityQueueTest.cpp"],
    headers = [],
    deps = [
        "//folly/portability:gmock",
        "//folly/portability:gtest",
        "//quic/priority:priority_queue",
    ],
)

mvfst_cpp_test(
    name = "round_robin_test",
    srcs = ["RoundRobinTests.cpp"],
    headers = [],
    deps = [
        "//folly/portability:gmock",
        "//folly/portability:gtest",
        "//quic/priority:round_robin",
    ],
)

mvfst_cpp_test(
    name = "http_priority_queue_test",
    srcs = ["HTTPPriorityQueueTest.cpp"],
    headers = [],
    deps = [
        "//folly/portability:gmock",
        "//folly/portability:gtest",
        "//quic/priority:http_priority_queue",
    ],
)

mvfst_cpp_benchmark(
    name = "priority_queue_benchmark",
    srcs = ["QuicPriorityQueueBenchmark.cpp"],
    deps = [
        "//common/init:init",
        "//folly:benchmark",
        "//quic/priority:http_priority_queue",
    ],
)
